//
//  Region.swift
//  Automobile
//
//  Created by erkebulan elzhan on 7/25/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.
//

import Foundation

struct Response<T:Decodable>: Decodable {
    var results: T
    var next: String?
}

struct City: Decodable {
    struct Region: Decodable {
        var id: Int
        var name: String
        var country: Int
    }
    var id: Int
    var name: String
    var region: Region
}
